package com.ruoyi.omp.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 公寓租赁费用对象 omp_fe_apartment
 *
 * @author cjie
 * @date 2021-09-17
 */
@Data
@ApiModel
public class FeApartment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    //租赁编号
    private String leaseNum;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 企业Id */
    @Excel(name = "企业Id")
    @ApiModelProperty(value = "企业Id")
    private String enterpriseId;
    private String enterpriseName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    /** 免租开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "免租开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "免租开始时间")
    private Date rentFreeBeginDate;

    /** 免租结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "免租结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "免租结束时间")
    private Date rentFreeEndDate;

    /** 租赁模式(0按间|1按面积) */
    @Excel(name = "租赁模式(0按间|1按面积)")
    @ApiModelProperty(value = "租赁模式(0按间|1按面积)")
    private String leaseModel;

    /** 收费模式(0按月|1按季度) */
    @Excel(name = "收费模式(0按月|1按季度)")
    @ApiModelProperty(value = "收费模式(0按月|1按季度)")
    private String feeModel;

    private String firstFeeModel;

    /** 保证金 */
    @Excel(name = "保证金")
    @ApiModelProperty(value = "保证金")
    private BigDecimal surety;

    /** 租金 */
    @Excel(name = "租金")
    @ApiModelProperty(value = "租金")
    private BigDecimal rental;

    /** 合同面积 */
    @Excel(name = "合同面积")
    @ApiModelProperty(value = "合同面积")
    private BigDecimal contractArea;

    /** 合同面积 */
    @Excel(name = "面积单价")
    @ApiModelProperty(value = "面积单价")
    private BigDecimal areaPrice;

    @Excel(name = "物管费单价")
    @ApiModelProperty(value = "物管费单价")
    private BigDecimal propertyPrice;

    @Excel(name = "设施使用费单价")
    @ApiModelProperty(value = "设施使用费单价")
    private BigDecimal facilityPrice;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    @Excel(name = "是否生效")
    @ApiModelProperty(value = "是否生效")
    private String effect;

    /** 租赁记录状态(0未到期，1已到期） */
    @Excel(name = "租赁记录状态(0未到期，1已到期）")
    @ApiModelProperty(value = "租赁记录状态(0未到期，1已到期）")
    private String recordState;

    @Excel(name = "计费方式")
    @ApiModelProperty(value = "计费方式")
    private String calculationMode;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下期账单时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "下期账单时间")
    private Date nextPropertyDate;

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

}
